yt-dlp: run CI test for the main package only
authorGeorge Sapkin <[email protected]>
Wed, 16 Apr 2025 19:42:54 +0000 (22:42 +0300)
committerTianling Shen <[email protected]>
Thu, 24 Apr 2025 10:55:43 +0000 (18:55 +0800)
Fixes: afe9935ff ("yt-dlp: add CI version check")
Signed-off-by: George Sapkin <[email protected]>
multimedia/yt-dlp/Makefile
multimedia/yt-dlp/test.sh

index c81ce9c0bad73db669361ee20cc77a0abcd21b51..fbcc03fc3db2a176e67a7194da96e1876474dd0b 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=yt-dlp
 PKG_VERSION:=2025.3.31
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PYPI_NAME:=yt-dlp
 PKG_HASH:=1bfe0e660d1a70a09e27b2d58f92e30b1e2e362cc487829f2f824346ae49fb91
index 8db90f6f0d518a3a607049f99dcc328aadc63d4f..eed84efa4798fa74de4e831504f051230e231991 100755 (executable)
@@ -1,3 +1,5 @@
 #!/bin/sh
 
-yt-dlp --version 2>&1 | sed 's/\.0\+/./g' | grep -x "$PKG_VERSION"
+if [ "$1" = 'yt-dlp' ]; then
+       yt-dlp --version 2>&1 | sed 's/\.0\+/./g' | grep -x "$PKG_VERSION"
+fi